

export interface ThingModelVO {
  id: number;
  productKey: string;
  model: Model;
}

export interface ThingModelForm {
  id: number;
  productKey: string;
  model: string;
}

interface Model {
  properties: Array<ModelProperties>;
  services: Array<ModelServices>;
  events: Array<ModelEvents>;
}

interface ModelProperties {
  identifier: string;
  dataType: ModelPropertiesDataType;
  name: string;
  required: boolean;
}

interface ModelServices {
  identifier: string;
  input: string;
  output: string;
}
 
interface ModelEvents {
  identifier: string;
  dataType: string;
}



interface ModelServiceParameter {
  identifier: string;
  max: number;
  step: number;
}



interface ModelPropertiesDataType {
  type: string;
  specs: any;
}

